package com.guodu.dao;

import java.util.List;

import com.guodu.entity.PurchaseBiddingPlanTwo;
import com.guodu.entity.PurchasebiddingtwoStatus;
import com.guodu.entity.Units;
import com.guodu.vo.PurchaseBiddingPlanTwoQueryVo;
import com.guodu.vo.PurchaseBiddingPlanTwoVo;

public interface PurchaseBiddingPlanTwoDao {

	PurchaseBiddingPlanTwoVo findAllMoney(PurchaseBiddingPlanTwoQueryVo pbpq, Units units);
	
	long findSizeByVo(PurchaseBiddingPlanTwoQueryVo pbpq,Units units);

	public void examinAll(PurchaseBiddingPlanTwoQueryVo pbpq,Units units);
	
	void save(PurchaseBiddingPlanTwo purchaseBiddingPlanTwo);

	List<PurchaseBiddingPlanTwo> findByVo(PurchaseBiddingPlanTwoQueryVo pbpq, Units units, int curPage, int pageSize);

	PurchaseBiddingPlanTwo findById(String purchaseId);

	void update(PurchaseBiddingPlanTwo purchaseBiddingPlanTwo);

	void delByIds(String[] delIds);

	void examine(String ids, Long status);

	void changeStatus(List<PurchasebiddingtwoStatus> entities);

	List<PurchasebiddingtwoStatus> findStatus(String purchaseId);

	List<PurchaseBiddingPlanTwo> findAllByVo(
			PurchaseBiddingPlanTwoQueryVo pbpq, Units attribute);

}
